#ifndef __MYCAN_H
#define __MYCAN_H

#include "DriversStruct.h"

void MyCAN_Init(void);                                                                                    // CAN2过滤器配置
HAL_StatusTypeDef MyCAN_Transmit(CAN_TxHeaderTypeDef *TxMessage, uint8_t *Data, CAN_HandleTypeDef *hcan); // 传输
void CAN_Data_parsing(uint8_t *Data, GM6020_ReceiveDataTypedef *moter);                                   // 数据解析
void Motor_transmission(int16_t I, uint8_t EC_number, CAN_HandleTypeDef *hcan);                           // EC_number 电调编号 1~8

#endif
